using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.WebApi.Entities
{
    /// <summary>
    /// 广告
    /// </summary>
    public class Advertisement : BaseEntity
    {
        /// <summary>
        /// 广告名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 广告内容
        /// </summary>
        public string? Content { get; set; }

        /// <summary>
        /// 广告URL
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public Guid? ProvinceId { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string? ProvinceName { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public Guid? CityId { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string? CityName { get; set; }

        /// <summary>
        /// 业务类型：1 场馆场地、5 活动、6 约球、10 比赛、11 课程、12 私教
        /// </summary>
        public BusinessTypeEnum BusinessType { get; set; }

        /// <summary>
        /// 广告类型：1banner、2advert
        /// </summary>
        public AdvertTypeEnum Type { get; set; }

        /// <summary>
        /// 动作类型：0不跳转、1url、2微信小程序
        /// </summary>
        public AdvertActionTypeEnum ActionType { get; set; }

        /// <summary>
        /// 跳转URl
        /// </summary>
        public string? ActionUrl { get; set; }

        /// <summary>
        /// appid
        /// </summary>
        public string? AppId { get; set; }

        /// <summary>
        /// 赞助商
        /// </summary>
        public string? Sponsor { get; set; }

        /// <summary>
        /// 赞助商电话
        /// </summary>
        public string? SponsorTel { get; set; }

        /// <summary>
        /// 赞助商logo
        /// </summary>
        public string? SponsorLogo { get; set; }

        /// <summary>
        /// 附加JSON数据
        /// </summary>
        public string? Attach { get; set; }
    }
}
